package com.mrdeer.user.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/7 0007 13:35
 */
@Data
@TableName("authorization_privilege")
public class AuthorizationPrivilege implements Serializable {
    private static final long serialVersionUID = -8909015490834369441L;
    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ID_WORKER)
    private Long id;
    /**
     * 权限名称
     */
    @TableField("NAME")
    private String name;
    /**
     * 权限编码
     */
    @TableField("CODE")
    private String code;
    /**
     * 所属权限组ID
     */
    @TableField("PRIVILEGE_GROUP_ID")
    private Long privilegeGroupId;
}
